package com.olc.railing.http;

import com.tyxh.paylibrary.exception.MyErrorException;
import com.tyxh.paylibrary.listener.ResultCallBack;

import okhttp3.Request;

/**
 * Created by DELL on 2017/9/6.
 */

public class LocalCommonBackJson {
    private String err_msg;
    private String err_code;
    private String data;
    private MyErrorException exception;
    private Request request;

    public Request getRequest() {
        return request;
    }

    public void setRequest(Request request) {
        this.request = request;
    }

    public MyErrorException getException() {
        return exception;
    }

    public void setException(MyErrorException exception) {
        this.exception = exception;
    }

    /**
     * 客户端监听
     */
    private ResultCallBack resultCallBack;

    public ResultCallBack getResultCallBack() {
        return resultCallBack;
    }

    public void setResultCallBack(ResultCallBack resultCallBack) {
        this.resultCallBack = resultCallBack;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
